import { http } from '../../utils/request'
import type { UserAddRequest } from './type'

export const userAddApi = async (data: UserAddRequest) => {
  return await http.post('/api/auth/register', data)
}
